#include "../inc/ArrowLine.h"

void ArrowLine::render()
{
     //Renderiza a seta inicial
     glPushMatrix();
       glRotatef(90.0,0.0,1.0,0.0);
       mMat.initMaterial();
       glutSolidCone(0.1,0.5,6,2);
       mMat.finishMaterial();
     glPopMatrix();
     
     Line::render();
     
     //Renderiza a seta final
     glPushMatrix();
       glTranslatef(fLen-0.5,0.0,0.0);
       glRotatef(90.0,0.0,1.0,0.0);
       mMat.initMaterial();
       glutSolidCone(0.1,0.5,6,2);
       mMat.finishMaterial();
     glPopMatrix();
}
